<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css">
	<script src="../bootstrap/js/jquery-2.1.0.min.js"></script>
	<script src="../bootstrap/js/bootstrap.min.js"></script>
    <style>
		.custom-container{
			margin-top: 20px;
		}
       
    </style>
</head>
<body>
    <div class="container-fluid custom-container">
		<form action="${pageContext.request.contextPath}/acl_role/addrole" method="post">
			<input type="hidden" name="user_id" value="${acl_user.acl_user_id}">
			<div class="form-group">
			  <label class="checkbox-inline">
				  <input type="checkbox" id="inlineCheckbox" value="option1"> 全选
				</label>
			</div>
			<div class="form-group" class="has-success">
				<c:forEach items="${aclRoles}" var="role">
					<label class="checkbox-inline">
					  <input type="checkbox" <c:if test="${role.is_boolean==1}">checked</c:if> name="roleId" value="${role.role_id}"> ${role.role_name}
					</label>
				</c:forEach>
			</div>
			<button type="submit" class="btn btn-primary">保存</button>
			
			<div class="text-center">	                
				
			</div>         
		</form>
    </div>
    
</body>
</html>